function [ xyzImage ] = kinect2xyz( xyzrgbImage )
%KINECT2XYZ Retrieves the XYZ information from a kinect xyzrgb column
%vector
%   The XYZ information is stored in a width X height X 3, where on the
%   third dimension the X, Y, respective Z measurements are stored
xyzImage = zeros(480,640,3);
xyzImage = permute(reshape(xyzrgbImage(:,1:3),640,480,3),[2 1 3]);

end

